
#include "MyScene.h"

USING_NS_CC;

CCScene* MyScene::scene()
{
	CCScene* scene = CCScene::create();

	MyScene* layer = MyScene::create();

	scene->addChild(layer);

	return scene;
}

bool MyScene::init()
{
	if(!CCLayer::init())
	{
		return false;
	}

//	COCOUISYSTEM->resetSystem(this);
//
//	COCOUISYSTEM->replaceUISceneWithFile(this, "NewProject.json", 1, true, true, true);

//	CCSize visibleSize =CCDirector::sharedDirector()->getVisibleSize();
//	CCPoint origin = CCDirector::sharedDirector()->getVisibleOrigin();
//
//	CCLabelTTF* label = CCLabelTTF::create("this is My scene", "Arial", 24);
//	label->setPosition(ccp(visibleSize.width/2, visibleSize.height/2));
//
//	this->addChild(label, 1);

	return true;
}


